package com.github.pig.sales.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 意向跟进
 * </p>
 *
 * @author andrew
 * @since 2018-06-23
 */
@TableName("sales_intention_flowup")
public class SalesIntentionFlowup extends Model<SalesIntentionFlowup> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "fid", type = IdType.AUTO)
    private Integer fid;
    /**
     * 学员
     */
    @TableField("student_id")
    private Integer studentId;
    /**
     * 跟进人
     */
    @TableField("create_user")
    private Integer createUser;
    /**
     * 跟进时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 修改时间
     */
    @TableField("update_time")
    private Date updateTime;
    /**
     * 意向等级
     */
    @TableField("intention_level")
    private String intentionLevel;
    /**
     * 备注
     */
    private String remark;
    /**
     * 状态
     */
    @TableField("biz_status")
    private String bizStatus;
    /**
     * 部门
     */
    @TableField("dept_id")
    private Integer deptId;
    /**
     * 删除标识
     */
    @TableField("del_flag")
    private String delFlag;


    public Integer getFid() {
        return fid;
    }

    public void setFid(Integer fid) {
        this.fid = fid;
    }

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public Integer getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getIntentionLevel() {
        return intentionLevel;
    }

    public void setIntentionLevel(String intentionLevel) {
        this.intentionLevel = intentionLevel;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getBizStatus() {
        return bizStatus;
    }

    public void setBizStatus(String bizStatus) {
        this.bizStatus = bizStatus;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    protected Serializable pkVal() {
        return this.fid;
    }

    @Override
    public String toString() {
        return "SalesIntentionFlowup{" +
        ", fid=" + fid +
        ", studentId=" + studentId +
        ", createUser=" + createUser +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", intentionLevel=" + intentionLevel +
        ", remark=" + remark +
        ", bizStatus=" + bizStatus +
        ", deptId=" + deptId +
        ", delFlag=" + delFlag +
        "}";
    }
}
